import React, { Component } from 'react'
import { Carousel, InputItem, Icon } from 'antd-mobile'
import { LoginForm } from '../user'
import { hashHistory } from 'react-router'
import { Announcement } from './'

export default class Homepage extends Component {
  render() {
    return (
      <div className={`rt-homepage-container`}>
        <img
          className={`rt-banner-img`}
          alt="banner"
          src={require('static/images/banner.png')}
          onClick={() => {
            hashHistory.push('/404')
          }}
        />
        <Announcement />

        <LoginForm />
      </div>
    )
  }
}